package com.kygeng.springframework.bean;

import com.kygeng.springframework.stereotype.Component;

/**
 * @Title: UserServiceComponnet
 * @Author: kygeng
 * @Package: com.kygeng.springframework.bean
 * @Date: 2024/8/12 9:57
 * @Description:
 */
@Component
public class UserServiceComponent implements IMyUserService {

    private String usermessage;

    @Override
    public String getUserInfo() {
        return "getUserInfo";
    }

    @Override
    public String registerUser(String username, String password) {
        return "registerUser:" + username + ":" + password;
    }

    public String getUsermessage() {
        return usermessage;
    }
}
